package com.dy.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.security.entity.UsersEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName:
 * @Author: dingyu
 * @Desctiption: (描述)
 * @Date: 2022/3/30 17:25
 * @version 1.0 (版本)
 */
@Mapper
public interface UsersMapper extends BaseMapper<UsersEntity> {
    /**
     * 根据用户名称获取用户信息
     * @param username 用户名称
     * @return UsersEntity
     */
    UsersEntity getUsers(String username);
}
